package com.nacos.client.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "service")
public interface ServiceFeign {
    @GetMapping("/service/getPort")
    public String getPortService();
    @RequestMapping("/service/test")
    public String test();
}
